let a = {},
    b = {
      n: '1'
    },
    c = {
      m: '2'
    };

a[b] = 'b';
a[c] = 'c';

console.log(a[b]);

// console.log(b.toString());
